package by.siarhei.java.tij.reusing.exercises.ex02;

import by.siarhei.java.tij.reusing.Detergent;

/**
 * @author Siarhei Shchahratsou <s.siarhei@gmail.com>
 * @since 09.03.14
 */
public class DetergentExt extends Detergent {
    public void scrub() {
        append(" DetergentExt.scrub()");
    }

    public void sterilize() {
        append(" sterilize()");
    }

    public static void main(String[] args) {
        DetergentExt detergentExt = new DetergentExt();

        detergentExt.dilute();
        detergentExt.apply();
        detergentExt.scrub();
        detergentExt.foam();
        detergentExt.sterilize();

        System.out.println(detergentExt);
    }
}
